package com.example.lgseckill.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.lgseckill.domain.SeckillProduct;
import com.example.lgseckill.domain.SeckillProductPreheatVO;

import java.util.List;

/**
 * Author:e
 * Date:2021/8/16 5:25 下午
 **/
public interface ISeckillProducttService extends IService<SeckillProduct> {

    void seckillProductPreheat();

    List<SeckillProductPreheatVO> getSeckillList();

    /**
     * 支付成功扣减库存
     * @param seckillId
     */
    void productRefresh(Long seckillId);
}
